#ifndef _COLOR_H_
#define _COLOR_H_

/** \brief Represents an RGB color.
 */
struct Color
{
	unsigned short int red; /**< Red component */
	unsigned short int green; /**< Green component */
	unsigned short int blue; /**< Blue component */
	
	/** \brief Constructs a Color with specified red green and blue components
	 *
	 * 	\param r Red component
	 * 	\param g Green component
	 * 	\param b Blue component
	 */
	Color(unsigned short int r, unsigned short int g, unsigned short int b):
		red(r), green(g), blue(b) { }

	/** \brief Constructs a black Color
	 */
	Color() : red(0), green(0), blue(0) { }
};


#endif
